package com.jxtc.enterprise.admin.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

@Schema(description = "Admin 端菜品管理界面更新菜品上架状态所需的信息")
@Getter
@Setter
@ToString
public class ChangeFoodSupplyStateDTO {
    @Schema(description = "所属店铺 ID", example = "04d159f9807ec68632e94edd2cfe1949")
    @NotBlank(message = "店铺 ID 不能为空")
    private String storeId;

    @Schema(description = "菜品 ID", example = "1ec86cc3c9ad51a279539ad27b442280")
    @NotBlank(message = "菜品 ID 不能为空")
    private String foodId;

    @Schema(description = "菜品是否上架，上架为 true，下架为 false", example = "false", defaultValue = "false")
    private Boolean newState;
}
